﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class LotteryJackpot : AdminpageBase
{
    protected List<Model.LotteryJackpot> lottery = null;
    protected long id = ReadRequest.RequestLong("cid"); 
    protected string title = ReadRequest.RequestString("title");
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            inidata();
        }
    }
    private void inidata()
    {
        int totalcount = 0;
        lottery = BLL.LotteryJackpot.GetPageList_Where(0, int.MaxValue, long.Parse(caipiaoType.SelectedValue.ToString()), out totalcount);
    }
    protected void caipiaoType_SelectedIndexChanged(object sender, EventArgs e)
    { 
        int totalcount = 0;
        lottery = BLL.LotteryJackpot.GetPageList_Where(0, int.MaxValue, long.Parse(caipiaoType.SelectedValue.ToString()), out totalcount);
    }
}